var express = require('express');
var router = express.Router();
var commentCtrl = require('../controller/comment.controller');

router.post('/data', commentCtrl.create); //新增用户
router.put('/data/:id', commentCtrl.update); //修改用户
router.delete('/data/:id', commentCtrl.remove); //删除用户
router.post('/data/removes', commentCtrl.removes); //删除多个用户
router.post('/list', commentCtrl.list); //查找用户

module.exports = router;